<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'index2.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<style type="text/css">
td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

.STYLE4 {
	font-size: 14px
}

.STYLE5 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #0099CC;
}
        .STYLE6 {color: #0099CC}
        </style>
		<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
  </script>
	</head>

	<body
		onLoad="MM_preloadImages('imags/indexLOGO_r2_c2_f3.jpg','imags/indexLOGO_r2_c2_f2.jpg','imags/indexLOGO_r2_c2_f4.jpg','imags/indexLOGO_r2_c4_f3.jpg','imags/indexLOGO_r2_c4_f2.jpg','imags/indexLOGO_r2_c4_f4.jpg','imags/indexLOGO_r2_c6_f3.jpg','imags/indexLOGO_r2_c6_f2.jpg','imags/indexLOGO_r2_c6_f4.jpg','imags/indexLOGO_r2_c8_f3.jpg','imags/indexLOGO_r2_c8_f2.jpg','imags/indexLOGO_r2_c8_f4.jpg','imags/indexLOGO_r2_c10_f3.jpg','imags/indexLOGO_r2_c10_f2.jpg','imags/indexLOGO_r2_c10_f4.jpg','imags/serviceALL_r2_c4_f3.jpg','imags/serviceALL_r2_c4_f2.jpg','imags/serviceALL_r2_c4_f4.jpg','imags/serviceALL_r4_c5_f3.jpg','imags/serviceALL_r4_c5_f2.jpg','imags/serviceALL_r4_c5_f4.jpg','imags/serviceALL_r6_c5_f3.jpg','imags/serviceALL_r6_c5_f2.jpg','imags/serviceALL_r6_c5_f4.jpg','imags/serviceALL_r8_c4_f3.jpg','imags/serviceALL_r8_c4_f2.jpg','imags/serviceALL_r8_c4_f4.jpg','imags/serviceALL_r10_c2_f3.jpg','imags/serviceALL_r10_c2_f2.jpg','imags/serviceALL_r10_c2_f4.jpg','imags/serviceALL_r12_c5_f3.jpg','imags/serviceALL_r12_c5_f2.jpg','imags/serviceALL_r12_c5_f4.jpg','imags/serviceALL_r14_c6_f3.jpg','imags/serviceALL_r14_c6_f2.jpg','imags/serviceALL_r14_c6_f4.jpg','imags/serviceALL_r16_c3_f3.jpg','imags/serviceALL_r16_c3_f2.jpg','imags/serviceALL_r16_c3_f4.jpg')">
		<table width="790" border="0" align="center">
	  <tr>
				<td height="158" colspan="2" valign="top">
					<table border="0" cellpadding="0" cellspacing="0" width="780">
						<!-- fwtable fwsrc="δ����" fwpage="ҳ�� 1" fwbase="indexLOGO.jpg" fwstyle="Dreamweaver" fwdocid = "1900457908" fwnested="0" -->
						<tr>
							<td>
								<img src="imags/spacer.gif" width="198" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="69" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="44" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="70" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="57" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="72" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="55" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="72" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="48" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="70" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="25" height="1" border="0"
									alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="1" height="1" border="0"
									alt="" />							</td>
						</tr>
						<tr>
							<td colspan="11">
								<img name="indexLOGO_r1_c1" src="imags/indexLOGO_r1_c1.jpg"
									width="780" height="178" border="0" id="indexLOGO_r1_c1" alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="1" height="178" border="0"
									alt="" />							</td>
						</tr>
						<tr>
							<td rowspan="2">
								<img name="indexLOGO_r2_c1" src="imags/indexLOGO_r2_c1.jpg"
									width="198" height="22" border="0" id="indexLOGO_r2_c1" alt="" />							</td>
							<td>
								<a href="index.jsp" target="_top"
									onClick="MM_nbGroup('down','navbar1','indexLOGO_r2_c2','imags/indexLOGO_r2_c2_f3.jpg',1);"
									onMouseOver="MM_nbGroup('over','indexLOGO_r2_c2','imags/indexLOGO_r2_c2_f2.jpg','imags/indexLOGO_r2_c2_f4.jpg',1);"
									onMouseOut="MM_nbGroup('out');"><img name="indexLOGO_r2_c2"
										src="imags/indexLOGO_r2_c2.jpg" width="69" height="17"
										border="0" id="indexLOGO_r2_c2" alt="" /> </a>							</td>
					  <td rowspan="2">
								<img name="indexLOGO_r2_c3" src="imags/indexLOGO_r2_c3.jpg"
									width="44" height="22" border="0" id="indexLOGO_r2_c3" alt="" />							</td>
							<td>
								<a href="ticketLook.jsp" target="_top"
									onClick="MM_nbGroup('down','navbar1','indexLOGO_r2_c4','imags/indexLOGO_r2_c4_f3.jpg',1);"
									onMouseOver="MM_nbGroup('over','indexLOGO_r2_c4','imags/indexLOGO_r2_c4_f2.jpg','imags/indexLOGO_r2_c4_f4.jpg',1);"
									onMouseOut="MM_nbGroup('out');"><img name="indexLOGO_r2_c4"
										src="imags/indexLOGO_r2_c4.jpg" width="70" height="17"
										border="0" id="indexLOGO_r2_c4" alt="" /> </a>							</td>
							<td rowspan="2">
								<img name="indexLOGO_r2_c5" src="imags/indexLOGO_r2_c5.jpg"
									width="57" height="22" border="0" id="indexLOGO_r2_c5" alt="" />							</td>
							<td>
								<a href="bookTicket.jsp" target="_top"
									onClick="MM_nbGroup('down','navbar1','indexLOGO_r2_c6','imags/indexLOGO_r2_c6_f3.jpg',1);"
									onMouseOver="MM_nbGroup('over','indexLOGO_r2_c6','imags/indexLOGO_r2_c6_f2.jpg','imags/indexLOGO_r2_c6_f4.jpg',1);"
									onMouseOut="MM_nbGroup('out');"><img name="indexLOGO_r2_c6"
										src="imags/indexLOGO_r2_c6.jpg" width="72" height="17"
										border="0" id="indexLOGO_r2_c6" alt="" /> </a>							</td>
							<td rowspan="2">
								<img name="indexLOGO_r2_c7" src="imags/indexLOGO_r2_c7.jpg"
									width="55" height="22" border="0" id="indexLOGO_r2_c7" alt="" />							</td>
							<td>
								<a href="tuiPiao.jsp" target="_top"
									onClick="MM_nbGroup('down','navbar1','indexLOGO_r2_c8','imags/indexLOGO_r2_c8_f3.jpg',1);"
									onMouseOver="MM_nbGroup('over','indexLOGO_r2_c8','imags/indexLOGO_r2_c8_f2.jpg','imags/indexLOGO_r2_c8_f4.jpg',1);"
									onMouseOut="MM_nbGroup('out');"><img name="indexLOGO_r2_c8"
										src="imags/indexLOGO_r2_c8.jpg" width="72" height="17"
										border="0" id="indexLOGO_r2_c8" alt="" /> </a>							</td>
							<td rowspan="2">
								<img name="indexLOGO_r2_c9" src="imags/indexLOGO_r2_c9.jpg"
									width="48" height="22" border="0" id="indexLOGO_r2_c9" alt="" />							</td>
							<td>
								<a href="leaveMessage.jsp" target="_top"
									onClick="MM_nbGroup('down','navbar1','indexLOGO_r2_c10','imags/indexLOGO_r2_c10_f3.jpg',1);"
									onMouseOver="MM_nbGroup('over','indexLOGO_r2_c10','imags/indexLOGO_r2_c10_f2.jpg','imags/indexLOGO_r2_c10_f4.jpg',1);"
									onMouseOut=MM_nbGroup('out');;
><img
										name="indexLOGO_r2_c10" src="imags/indexLOGO_r2_c10.jpg"
										width="70" height="17" border="0" id="indexLOGO_r2_c10" alt="" />								</a>							</td>
							<td rowspan="2">
								<img name="indexLOGO_r2_c11" src="imags/indexLOGO_r2_c11.jpg"
									width="25" height="22" border="0" id="indexLOGO_r2_c11" alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="1" height="17" border="0"
									alt="" />							</td>
						</tr>
						<tr>
							<td>
								<img name="indexLOGO_r3_c2" src="imags/indexLOGO_r3_c2.jpg"
									width="69" height="5" border="0" id="indexLOGO_r3_c2" alt="" />							</td>
							<td>
								<img name="indexLOGO_r3_c4" src="imags/indexLOGO_r3_c4.jpg"
									width="70" height="5" border="0" id="indexLOGO_r3_c4" alt="" />							</td>
							<td>
								<img name="indexLOGO_r3_c6" src="imags/indexLOGO_r3_c6.jpg"
									width="72" height="5" border="0" id="indexLOGO_r3_c6" alt="" />							</td>
							<td>
								<img name="indexLOGO_r3_c8" src="imags/indexLOGO_r3_c8.jpg"
									width="72" height="5" border="0" id="indexLOGO_r3_c8" alt="" />							</td>
							<td>
								<img name="indexLOGO_r3_c10" src="imags/indexLOGO_r3_c10.jpg"
									width="70" height="5" border="0" id="indexLOGO_r3_c10" alt="" />							</td>
							<td>
								<img src="imags/spacer.gif" width="1" height="5" border="0"
									alt="" />							</td>
						</tr>
					</table>				</td>
			</tr>
			<tr>
				<td height="29" colspan="2" valign="top" >
					<table width="723" height="41" border="0">
						<tr>
							<td width="74" height="37">&nbsp;							</td>
							<td width="85" valign="bottom" >
								<span class="STYLE5">网上订票</span>							</td>
						  <td width="550" valign="bottom">&nbsp;							</td>
					  </tr>
				  </table>				</td>
			</tr>
			<tr>
				<td height="34" colspan="2" valign="top">
					<hr color="#FF0000">				</td>
			</tr>
			<tr>
				<td width="80" height="220" valign="top">&nbsp;				</td>
  <td width="608" valign="top" >
<form name="form1" method="post" action="dingPiao.action"
						style="width: 100%">
						<table width="588" height="192" border="0">
<tr>
								<td height="48" colspan="4">
									<div align="left">
										<blockquote>
											<blockquote>
												<blockquote>
													<p align="center" class="STYLE6">
														请填写车票信息													</p>
											  </blockquote>
										  </blockquote>
										</blockquote>
									</div>								</td>
						  </tr>
							<tr>
								<td width="125" height="25" align="right">
									车次：								</td>
								<td width="181">
									<select name="carOrder" id="carOrder">
<option value="p001" >
											p001										</option>
										<option value="p002">
											p002										</option>
										<option value="p003">
											p003										</option>
										<option value="p004">
											p004										</option>
										<option value="p101">
											p101										</option>
										<option value="p201">
											p201										</option>
										<option value="p202">
											p202										</option>
										<option value="p203">
											p203										</option>
										<option value="p204">
											p204										</option>
										<option value="p301">
											p301										</option>
										<option value="p304">
											p304										</option>
										<option value="p401">
											p401										</option>
										<option value="p501">
											p501										</option>
										<option value="p502">
											p502										</option>
				              </select>								</td>
								<td width="113" align="right">
									发车时间：								</td>
								<td width="151">
									<select name="pDrvDate">
										<option value="2010-06-29">
											2010-06-29										</option>
										<option value="2010-06-30">
											2010-06-30										</option>
										<option value="2010-07-01">
											2010-07-01										</option>
							  </select>								</td>
							</tr>
							<tr>
								<td height="36" align="right">
									出发站：								</td>
								<td>
									<select name="startStation"   >
                                <option value="南昌总站" >南昌总站</option>
                                <option value="南昌青山客运站" >南昌青山客运站</option>
						  </select>								</td>
								<td align="right">
									目的站：								</td>
								<td height="36">
									<select name="finalStation">                       
                        
                                 <option value="武汉" >武汉</option>
                            
                                 <option value="长沙" >长沙</option>
                            
                                 <option value="上海" >上海</option>
                            
                                 <option value="天津" >天津</option>
                        </select>								</td>
							</tr>
							<tr>
								<td height="23" align="right">
									票数：								</td>
						  <td>
									<input type="text" name="ticketNum" id="ticketNum"
										style="width: 60px; height: 21px">								</td>
								<td>&nbsp;								</td>
								<td height="23">&nbsp;								</td>
						  </tr>
							<tr>
								<td height="48" colspan="4">
	  <table width="433" border="0">
										<tr>
											<td width="156" height="30">&nbsp;											</td>
											<td width="123" valign="bottom">
												<input type="submit" value="订购"
													style="width: 45px; height: 26px; font-size: 15px">
&nbsp;											</td>
											<td width="140" valign="bottom">
												<input type="button" value="重置"
													style="width: 45px; height: 26px; font-size: 15px">
&nbsp;											</td>
										</tr>
									</table>								</td>
						  </tr>
		</table>
	  </form>				</td>
		  </tr>
			<tr>
				<td height="210" colspan="2" valign="top">
					<table width="759" height="202" border="0">
<tr>
							<td width="141">&nbsp;							</td>
							<td width="313"><blockquote>
							  <p class="STYLE6">
							    您订购的车票信息如下：						      </p>
					      </blockquote></td>
						  <td width="291" height="21">&nbsp;							</td>
					  </tr>
						<tr>
							<td height="175" colspan="3" valign="top">
							  <table width="750" height="165" border="0">
	  <tr>
										<td width="32" height="161">&nbsp;										</td>
					    <td width="695" valign="top">
	  <table border="0" width="100%" align="center" cellpadding="0"
												cellspacing="1" bgcolor="#dfdfdf">

												<tr>
													<td width="10%" height="24" bgcolor="#CC6600">
														<span class="STYLE9">车次</span>													</td>

											  <td width="30%" bgcolor="#CC6600">
														<span class="STYLE9">发车时间</span>													</td>

											  <td width="22%" bgcolor="#CC6600">
														出发站													</td>
													<td width="9%" bgcolor="#CC6600">
														目的站													</td>
													<td width="11%" bgcolor="#CC6600">
														<span class="STYLE9">车型</span>													</td>

													<td width="8%" bgcolor="#CC6600">
														<span class="STYLE9">票数</span>													</td>

												  <td width="10%" bgcolor="#CC6600">总金额</td>
				    </tr>

												
													<tr>
														<td>
															<s:property value="#request.carS.carOrder" />														</td>

														<td>
															10<s:property value="#request.carS.startTime"/>&nbsp;&nbsp;&nbsp;<s:property value="#request.carS.clock"/> :00:00														</td>

														<td>
															<s:property value="#request.carS.startStation" />														</td>
														
														<td>
															<s:property value="#request.carS.finalStation" />														</td>

														<td>
															<s:property value="#request.carS.carModel" />														</td>

														<td>
															<s:property value="#request.piaoshu" />														</td>
                                                        
                                                        <td>
															<s:property value="#request.sumMoney" />														</td>
													</tr>
									</table>										</td>
									  <td width="10">&nbsp;										</td>
								  </tr>
								</table>						  </td>
					  </tr>
			  </table>			  </td>
			</tr>

			<tr>
				<td height="41" colspan="2" align="center" valign="top">
					<hr size="2" color="#CC6666">
					<p align="center">
						<span class="STYLE4">城院信工学部计算机3班汪良版权所有 Copyright ©
							2010-2012. All Rights Reserved.</span>					</p>				</td>
			</tr>
			<tr>
				<td height="23" colspan="2" valign="top">
					<hr size="15" color="#FF3333">				</td>
			</tr>
		</table>
	<br>
	</body>
</html>

